: 5186.54clflush size : 64cache_alignment : 64address sizes : 36 bits physical, 48 bits virtualpower management:
Here there are two processor code blocks, so the total number of cores is 2 core, the physical ID of the last processor is 0, then the number of CPUs is 1, so it is 1 CPU * dual-core
Another example:
processor : 0vendor_id : AuthenticAMDcpu family : 16model : 8model name : AMD Opteron(tm) Processor 4171 HEstepping : 1cpu MHz
)The-no-plugin-manifests plugin does not embed manifests.*-plugin-manifests. Plug-in embedded manifests.-no-qmake ..... Do not compile Qmake*-qmake ....... Compile the qmake. Do not recommend not compiling qmake-dont-process ... Makefiles and project documents are not generated. Higher priority than the-no-fast parameter*-process ...... Generate Makefiles and project documents.-no-rtti ...... Run-time type information is not compiled.*-rtti ..... ..... Compile run-time type information.Here is t
QT3 not supported
-no-qt3support
No MMX instruction set support
-no-mmx
No 3DNow instruction Set support
-no-3dnow
No SSE and SSE2 instruction set support
-no-sse-no-sse2
No Direct3D Support (Direct3D not compiled by default)
-no-direct3d
No OpenSSL support
-no-openssl
No Dbus support
-no-dbus
-src-4.7.3.tar.gz
CD qt-everywhere-opensource-src-4.7.3
(2) Configure QT (you can crop QT here). Do not make any mistakes!
. /Configure-opensource-confirm-license-release-shared-Embedded ARM-xplatform qws/Linux-arm-G ++-depths, 24, 32-fast-optimized-qmake-QT-SQL-SQLite-QT-libjpeg-QT-zlib-QT-libpng-QT-FreeType-little-Endian-host-little-Endian-No-qt3support-no-LibTIFF-no-libmng-no-OpenGL-no-MMX-no-SSE-no-sse2-no-3dnow-no-OpenSSL-no-WebKit-no-qvfb-No -ph
platform may not be able to fully support the architecture of all assembly instructions, so need to shut down. (Own understanding, no combat) option Description –disable-asm Disable all assembly Optimizations–disable-altivec disable AltiVec -VSX Disable VSX optimizations–disable-power8 disable POWER8 optimizations–disable-amd3dnow disable 3dnow! optimization S–disable-amd3dnowext Disable 3dnow! Extended op
= re.search(elem, text) if result: #TODO: print text translate_struct(int(result.group(1))) break;
Here, stru_list specifies the name of the struct to be converted.
If you have the following struct (in the. c file), convert it to a non-GCC extension format.
static void *sse_op_table1[256][4] = { /* 3DNow! extensions */ [0x0e] = { SSE_DUMMY }, /* femms */ [0x0f] = { SSE_DUMMY }, /* pf... */
selected optimization parameters are automatically used when make.
For example, the CPU for normal Pentium 4 (the Display model is Intel (r) Pentium (r) 4 CPU xxxxmhz,cpu FAMILY:15,MODEL:0/1/2) can enter the following commandExport chost= "I686-pc-linux-gnu"Export cflags= "-march=pentium4-o2-pipe-fomit-frame-pointer"Export cxxflags= "${cflags}"
Information such as CPU model can be obtained by entering the following commandCat/proc/cpuinfoWill output information similar to the following
proce
/qtembedded-4.8.6/bin directory.
3. Build ARM Version
Go to the Qt-arm directory and do the following:
./configure-prefix/usr/local/trolltech/qtembedded-4.8.6-arm-opensource-confirm-license-release-shared-embedded Arm-xplatform qws/linux-arm-g++-depths 16,18,24-fast-optimized-qmake-pch-qt-sql-sqlite-qt-libjpeg-qt-zlib-qt-lib Png-qt-freetype-little-endian-host-little-endian-no-qt3support-no-libtiff-no-libmng-no-opengl-no-mmx-no-sse -no-sse2-no-3dnow-n
We can get the information we need in/proc/cpuinfo.
1. The current CPU model
[root@ localhost ~]# cat/proc/cpuinfo |grep ' model name ' |uniq
Model NAME:AMD Opteron (tm) Processor 6140
2. Current CPU operating mode
[Root@localhost tmp]# getconf Long_bit
32
Indicates that the current CPU is running in 32-bit environments
3. Whether the current CPU supports 64-bit environments
[root@ localhost ~]# cat/proc/cpuinfo |grep ' lm ' |uniq
FLAGS:FPU VME de PSE TSC MSR PAE MCE cx8 APIC MTRR PGE
OMAP4 (Video decoded OMAP4430 and OMAP4440 IVA 3)
Linux implements Dynamic Running detection of CPU (MMX, SSE, 3DNOW, etc)
Support for improved ARM processors, embedded devices, and Embedded System Platform Architecture
For the complete changes, click here.
:
Xbmc
Xbmc
Xbmc
Xbmcbuntu
Install XBMC in Ubuntu
Run the following command to add a stable source xbmc ppa and install XBMC 11.0 in Ubuntu 11.10, 11.04, 10.10, or 10.04:
Sudo add-apt-repo
parameter.Configure and compile qte4After the preparation is complete, you can compile the configuration of qte4. Because qte4 is a huge graphics library for embedded devices, you need to configure and crop the parameters. Because the cross tool chain is different from the general cross tool chain, you need to modify the compilation script for the ARM platform to proceed normally.In the extract directory of qte4, go to the mkspecs/qws/Linux-arm-G ++/directory and name it qmake. CONF file, confi
-FreeType-little-Endian-host-little- endian-no-qt3support-no-LibTIFF-no-libmng-no-OpenGL-no-MMX-no-SSE-no-sse2-no-3dnow-no-WebKit-no-qvfb-no-phonon- no-NIS-No-OpenGL-no-cups-no-glib-no-xcursor-no-xfixes-no-xrandroid-no-xrender-no-separate-debug-Info-nomakeexamples-nomake tools-nomake docs-QT-mouse-tslib-QT-SQL-mysql-I/usr/local/tslib/include-L/usr/local/tslib/lib-I/usr/local/arm_mysql/include-L/usr/local/arm_mysql/lib
The red part shows the compilatio
1. Download source code qts4.6.4, respectively extract three, qt-x11, x86-qte, arm-QTE
2. CD arm-QTE/mkspec/qws/Linux-arm-G ++/
VI qmake. conf
Qmake_cc = arm-Linux-gcc-ltsQmake_cxx = arm-Linux-G ++-ltsQmake_link = arm-Linux-G ++-ltsQmake_link_shlib = arm-Linux-G ++-ltsAfter lts is added, the application will not show ld: Warning: libts-0.0.so.0, needed by/home/zhxt/qt_for_arm/qt-everywhere-opensource-src-4.6.2/lib/libqtgui. So,
Not found (try using-rpath or-rpath-link)/home/zhxt/qt_for_arm/qt-ev
cx6x86 gxm5 4-nx5865 5-IDT C6 (winchip)6 0 0 pentiumpro A-step1 Pentium Pro3 Pentium II4 p55ct (p54 overdrive)5 Pentium II (0.25)6 2 6 K67 K68 K6-3DK6PLUS-3D6 3 0 cx6x86 MX/MIIUnfortunately, we cannot find the latest information. Which of the following is my friend? Could you give me a copy? Thank you.
Iii. View functions/technologies supported by CPU
If (cpuid [4] and $800000) // Supports MMX commandsElse// Not supported
// Whether the CPU supports the
porting process.
Here, I package the files in tslib to/usr/local/tslib of the Development Board.
To compile and install QT for ARM, first configure the following:
[Email protected]:/ARM/QT/qt-everywhere-opensource-src-4.7.0 # Vim a. Sh
1 #! /Bin/sh23 # For arm4. /configure-Prefix/opt/embedsky/qt-4.7-arm-Embedded ARM-release-opensource-fast-no-Accessibility-no-scripttools-no-MMX-no-multimedia-no-SVG- no-3dnow-no-SSE-no-sse2-silent-QT-libpng-QT-libjpe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.